<!--头部信息-->
    <header class="lyear-layout-header">

      <nav class="navbar navbar-default">
        <div class="topbar">

          <div class="topbar-left">
            <div class="lyear-aside-toggler">
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
              <span class="lyear-toggler-bar"></span>
            </div>
            <span class="navbar-page-title"> ${title!""} </span>
          </div>

          <ul class="topbar-right">
            <li class="dropdown dropdown-profile">
              <#if Session["ylrc_user"]?exists>
              <a href="javascript:void(0)" data-toggle="dropdown">
                 <#if ylrc_user.headPic??>
                 <#if ylrc_user.headPic?length gt 0>
                	<img class="img-avatar img-avatar-48 m-r-10" src="/photo/view?filename=${ylrc_user.headPic}" alt="${ylrc_user.username!""}" />
                 <#else>
                 	<img class="img-avatar img-avatar-48 m-r-10" src="/admin/images/default-head.jpg" alt="${ylrc_user.username!""}" />
                 </#if>
                 </#if>
                <span>${ylrc_user.username!""} <span class="caret"></span></span>
              </a>
              <#elseif Session["ylrc_student"]?exists>
               <a href="javascript:void(0)" data-toggle="dropdown">
                   <#if ylrc_student.headPic??>
                     <#if ylrc_student.headPic?length gt 0>
                	<img class="img-avatar img-avatar-48 m-r-10" src="/photo/view?filename=${ylrc_student.headPic}" alt="${ylrc_student.studentName!""}" />
                     <#else>
                 	<img class="img-avatar img-avatar-48 m-r-10" src="/admin/images/default-head.jpg" alt="${ylrc_student.studentName!""}" />
                     </#if>
                   </#if>
                   <span>${ylrc_student.studentName!""} <span class="caret"></span></span>
               </a>
              </#if>
              <ul class="dropdown-menu dropdown-menu-right">
                <li> <a href="/system/update_userinfo"><i class="mdi mdi-account"></i> 个人信息</a> </li>
                <li> <a href="/system/update_pwd"><i class="mdi mdi-lock-outline"></i> 修改密码</a> </li>
                <li class="divider"></li>
                <li> <a href="/system/logout"><i class="mdi mdi-logout-variant"></i> 退出登录</a> </li>
              </ul>
            </li>
          </ul>

        </div>
      </nav>

    </header>
    <!--End 头部信息-->
